package com.tjetc.service;

import com.tjetc.common.JsonResult;
import com.tjetc.entity.Merchant;

import java.math.BigDecimal;

//商家端账户业务类
public interface MerchantAccountService {
    //账户登录
    JsonResult login(String phone, String password);
    //账户注册
    JsonResult register(String phone,String password,String name);
    //修改密码
    JsonResult modifyPassword(String oldPass,String newPass,Integer merchantId);
    //开店
    JsonResult setUp(Merchant merchant,Integer merchantId);
    //获得店铺信息
    JsonResult getMerchantMessage(String merchantId);

    JsonResult changeShopStatus(Integer merchantId,Integer status);

    JsonResult changeDropFee(Integer merchantId, BigDecimal dropFee);
}
